#ifndef SJRPASSWORD_EPUB_PASSWORD_H
#define SJRPASSWORD_EPUB_PASSWORD_H

#if defined(_MSC_VER)
#define API_PUBLIC_20210807 extern "C" __declspec(dllexport)
#elif defined(__GNUC__)
#define API_PUBLIC_20210807 extern "C" __attribute__((visibility("default")))
#endif

API_PUBLIC_20210807
void Pwd_Init(char const *path);

API_PUBLIC_20210807
void Pwd_Release();

API_PUBLIC_20210807
int Pwd_PasswordInit(int num, char const *pwd);

API_PUBLIC_20210807
int Pwd_PasswordVerify(int num, char const *pwd);

API_PUBLIC_20210807
int Pwd_PasswordChange(int num, char const *src, char const *dst);

#endif//SJRPASSWORD_EPUB_PASSWORD_H
